﻿@model MPosters.Models.Poster

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Poster</legend>
    <div class="left">
     
        <div class="display-label">Board</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Board)
        </div>

        <div class="display-label">Title</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Title)
        </div>

        <div class="display-label">Content</div>
        <div class="display-field">
            @Html.Raw(HttpUtility.HtmlDecode(Model.Content));
        </div>

        <div class="display-label">PublishDate</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.PublishDate)
        </div>
    </div>
    <div class="right">
        <img src=@Model.PosterImgUrl>
    </div>
</fieldset>






<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.PosterId }) |
    @Html.ActionLink("Back to List", "Index")
</p>
